Tim Deegan [Thu, 1 Mar 2007 11:08:49 +0000 (11:08 +0000)]
Remove Xen workaround for HVM builder now that it's fixed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:04:45 +0000 (11:04 +0000)]
Merge
Tim Deegan [Thu, 1 Mar 2007 11:04:23 +0000 (11:04 +0000)]
[HVM] Builder must know which kind of vcpu context struct to use
when the tools are being run in a compat-mode domain
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:44:40 +0000 (10:44 +0000)]
xen: Use RCU-based domain-locking functions where appropriate.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:32:52 +0000 (10:32 +0000)]
xen: Last minute rename of RCU domain get/put functions:
find_domain_rcu_lock -> rcu_lock_domain_by_id
domain_rcu_unlock -> rcu_unlock_domain
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:24:19 +0000 (10:24 +0000)]
hvm/ia64: Fix IDE PIO acceleration.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:01:51 +0000 (10:01 +0000)]
Change compat-check in set_vcpucontext again. Give caller leeway for
HVM guests only.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 09:52:40 +0000 (09:52 +0000)]
[XEN] Fix cset 14166
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Wim Colgate [Wed, 28 Feb 2007 20:35:36 +0000 (12:35 -0800)]
Use stat to poll on phantom device until it becomes ready
Signed-off by Wim Colgate <wim@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:15:42 +0000 (18:15 +0000)]
libxc: Quieten the discard_file_cache() function. Preserve errno
across it. No longer make calls to the function dependent on 'non-live
save/restore': it's not a good test of whether the fd is a socket.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:06:56 +0000 (18:06 +0000)]
Fix init.d/xendomains startup script so log_error and log_success
will also work on redhat-based distributions before RHEL 5. See
discussion "xendomains init script" about a year ago on xen-devel.
Signed-off-by: Florian Kirstein <ray@ray.net>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 17:55:19 +0000 (17:55 +0000)]
linux: More save/restore fixes. Fix deadlock of cpu_hotplug_lock vs
workqueue_mutex. This is a new deadlock since the workqueue_mutex is
acquired in the workqueue_cpu_calbback() function across
CPU_UP_PREPARE->CPU_ONLINE.
The fix is for us not to rudely grab the cpu_hotplug_lock() during
save/restore -- it's really not necessary.
This patch is applicable to any of our 2.6 kernels, but is absolutely
required from 2.6.18 onwards.
Signed-off-by: Keir Fraser <keir@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:13:49 +0000 (11:13 -0500)]
[XEN][SHADOW] Use slow method for early-unshadow
The "fast" method fails a significant portion of the time.
unshadow will still use the "fast" method, but will fall
back to a brute-force method if it fails.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:11:22 +0000 (11:11 -0500)]
[XEN][SHADOW] Fix early-unshadow logic.
Make sure to reset the early-unshadow logic when we
do a fast-path propagate or when we emulate a non-zero
write.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:44:52 +0000 (14:44 +0000)]
hvm: Only do hvm_disable() on HVM-enabled systems.
Original patch by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:34:25 +0000 (14:34 +0000)]
linux: Disable idle-loop alternatives.
ACPI and APM idle functions in particular are not suitable choices
when running on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:26:26 +0000 (14:26 +0000)]
linux: Split suspend_mutex into watch_mutex and transaction_mutex.
This clarifies their usage and relationship with request_mutex and
response_mutex.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:13:09 +0000 (14:13 +0000)]
More PV save/restore fixes.
Related changesets:
14148:
b67c253d1cdb4f502dec2
13519:
b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:22:20 +0000 (13:22 +0000)]
Fix 32-bit x86 compile
Tim Deegan [Wed, 28 Feb 2007 13:19:16 +0000 (13:19 +0000)]
[XEN] Compat-mode dom0 always provides compat vcpu_guest_context structs.
Update arch_set_info_guest to do the right thing.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:17:27 +0000 (13:17 +0000)]
[XEN] Make the compat-mode l4 page table look more like a page table
and remove some special-case code in the shadows.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Christian Limpach [Wed, 28 Feb 2007 10:40:52 +0000 (10:40 +0000)]
[XEN] No need to change the compat mode of the guest in xen.
The tools set the compat mode already explicitly.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:44:59 +0000 (09:44 +0000)]
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
macro.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:41:02 +0000 (09:41 +0000)]
Add suspend_cancel flag to linux elf notes.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:23 +0000 (09:39 +0000)]
Add xm save -c/--checkpoint option
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:03 +0000 (09:39 +0000)]
Let xend choose to do hard or soft domain resumption depending on
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:38:14 +0000 (09:38 +0000)]
Fix off-by-one preventing the last elfnote from being read in xc.c.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:27:18 +0000 (20:27 +0000)]
Add openssl-dev and xorg-x11-dev to README
Attached is a documentation patch to the top-level README file; it
just adds two notes saying that you need to have openssl-devel and
xorg-x11-devel installed to successfully complete a "make world" at
the top level.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:22:36 +0000 (20:22 +0000)]
[XEN] [ACM] Simplify the event channel scanning
This patch simplifies the scanning of a domain's event channels
considering that an 'ECS_UNBOUND' event channel is not connected and
can be skipped.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 16:13:08 +0000 (16:13 +0000)]
Fix for Solaris compile/output for VBDs in xentop.
Signed-off-by: John Levon <john.levon@sun.com>
Ian Campbell [Tue, 27 Feb 2007 15:40:37 +0000 (15:40 +0000)]
merge
Ian Campbell [Tue, 27 Feb 2007 15:39:08 +0000 (15:39 +0000)]
[TOOLS] Add support for XEN_ELFNOTE_L1_MFN_VALID to readnotes.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:55 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [3/3]
Add a bufferring mechanism for IDE PIO in a hypervisor.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:24 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [2/3]
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:33:25 +0000 (15:33 +0000)]
Accelerate IDE PIO on HVM/IA64 [1/3]
Add a bufferring mechanism for IDE PIO in qemu.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Steven Hand [Tue, 27 Feb 2007 14:33:07 +0000 (14:33 +0000)]
Fix save/restore (and non-live migrate) on PAE.
Plus add some more debug output to help us spot similar issues in the future.
Signed-off-by: Steven Hand <steven@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 13:58:40 +0000 (13:58 +0000)]
Added SXP pretty-printer.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 13:43:01 +0000 (13:43 +0000)]
linux: Don't allow partial message raeds from xenstore across
save/restore. This patch is an essential companion to
13519:
b4a8000e76db6b4b27341.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 11:19:25 +0000 (11:19 +0000)]
Fix exception handling to cope with exceptions that do not have a string as
the first argument.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:06:29 +0000 (06:06 -0500)]
[TOOLS] Make xentrace help a little more informative.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:02:32 +0000 (06:02 -0500)]
Merge
George Dunlap [Tue, 27 Feb 2007 11:01:35 +0000 (06:01 -0500)]
[TOOLS] Added option to xentrace to discard records in the buffer
before beginning the trace.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 11:00:36 +0000 (11:00 +0000)]
x86: Fix BUG() crash in mm.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:52:27 +0000 (01:52 +0000)]
Fix missing bits of the docs from cset 14020, and match that change by removing
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:05:32 +0000 (01:05 +0000)]
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 00:37:27 +0000 (00:37 +0000)]
Added some more fields to host_cpu.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Mon, 26 Feb 2007 17:20:36 +0000 (17:20 +0000)]
[HVM][SVM] Save/Restore: Remove commented out code
Code not needed by SVM as the "VM_ENTRY_CONTROLS" register doesn't
exist.
Signed off: Mats Petersson (mats.petersson@amd.com)
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:05:10 +0000 (17:05 +0000)]
Missing files from previous changeset.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:04:39 +0000 (17:04 +0000)]
[xentrace][HVM] introduce HVM tracing to unify SVM and VMX tracing
* new tracing class TRC_HVM replacing TRC_VMX
* 20 new trace events to differentiate the information carried by them
** added corresponding trace points in SVM and VMX code
** updated formats file: descriptive formatting of trace event data
** completely replacing previous simple tracing in VMX
* possibility to toggle single events on and off at compile time in
include/asm-x86/hvm/trace.h
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 16:27:35 +0000 (16:27 +0000)]
x86: Update map_pages_to_xen() to avoid arithmetic based on
uninitialised frame_table variable.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 16:25:17 +0000 (16:25 +0000)]
x86: Clean up {alloc,free}_xen_pagetable() interface to avoid use of
frame_table variable before initialisation. This wasn't a bug, but was
confusing.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Mon, 26 Feb 2007 15:50:50 +0000 (15:50 +0000)]
Add argument check for xm network-attach command
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Mon, 26 Feb 2007 15:41:35 +0000 (15:41 +0000)]
Fix xm vcpu-set command for when wrong number of VCPU is given
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Ewan Mellor [Mon, 26 Feb 2007 15:39:34 +0000 (15:39 +0000)]
Move credit scheduler configuration into XendDomainInfo, so that the domain
will be cleaned up correctly if the scheduler parameters are wrong.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Tim Deegan [Mon, 26 Feb 2007 14:48:46 +0000 (14:48 +0000)]
Merge
Tim Deegan [Mon, 26 Feb 2007 14:47:54 +0000 (14:47 +0000)]
[TOOLS] fix sizeof() usage in xc_core
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 14:09:08 +0000 (14:09 +0000)]
linux: Fix backward compatibility in page table handling
A 3.0.2 compatibility requirement slipped my attention before
submitting the original page table handling changes.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Tim Deegan [Mon, 26 Feb 2007 13:56:01 +0000 (13:56 +0000)]
[XEN] Allow log-dirty mode to be enabled on already-shadowed domains.
and catch a few missing mark_dirty() calls
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 11:53:35 +0000 (11:53 +0000)]
Remap PCI-ISA IRQ 6 to IRQ 7. Disable LPT1 by default and remove its
definition from the ACPI DSDT. This avoids conflict with FDC on IRQ6
(it is a bit more likely that someone will want to connect a floppy
image to a guest than it is that anyone will ever care about
parallel-port functionality).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 11:21:03 +0000 (11:21 +0000)]
Resolve conflict over use of name xen_elfnote.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Mon, 26 Feb 2007 10:23:03 +0000 (10:23 +0000)]
Merge
Tim Deegan [Mon, 26 Feb 2007 10:22:38 +0000 (10:22 +0000)]
[HVM] Shadow: always use mmio_space() to detect MMIO addresses
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 10:18:52 +0000 (10:18 +0000)]
libxc, ia64: Added new arch_hook for registering ia64 big endian images.
Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:59:56 +0000 (09:59 +0000)]
Save elfnotes in VM sxpr under image/notes, and load them on restore.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:59:33 +0000 (09:59 +0000)]
Write Xen ELF notes into xenstore on domain build.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Tim Deegan [Mon, 26 Feb 2007 09:28:30 +0000 (09:28 +0000)]
[HVM] Revert cset 14083
which was wrong, and not very useful.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:13:50 +0000 (09:13 +0000)]
xm-test, acm: Use xvda* device name instead of sdb* device inside guest domain.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 09:12:55 +0000 (09:12 +0000)]
Remove duplicate #includes from Linux sparese-tree file.
From: Chuck Short <zulcss@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
root@xenhog02.amd.com [Mon, 26 Feb 2007 05:58:33 +0000 (23:58 -0600)]
fix PDPE entry in P2M table under 32bit PAE hypervisor
Ewan Mellor [Mon, 26 Feb 2007 00:07:14 +0000 (00:07 +0000)]
Remove unused network.default_{gateway,netmask}.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 23:45:39 +0000 (23:45 +0000)]
Redefine units of VDI.virtual_size to be bytes, not sectors.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 23:37:05 +0000 (23:37 +0000)]
Added host.capabilities field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 23:17:14 +0000 (23:17 +0000)]
Replace VM.tools_version with a richer VM_guest_metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 22:47:29 +0000 (22:47 +0000)]
Added documentation and C bindings for VBD/VIF.status_detail, status_code, and
currently_attached fields. Not yet implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 22:31:43 +0000 (22:31 +0000)]
Added a VM.domid field.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 22:02:12 +0000 (22:02 +0000)]
Remove the bindings for VM.get_VCPUs_{number,utilisation} -- these have moved
onto the metrics class.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 21:53:39 +0000 (21:53 +0000)]
Fix typo in host record.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 21:52:54 +0000 (21:52 +0000)]
Added tab completion for methods and object references to xm shell.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Sun, 25 Feb 2007 17:20:51 +0000 (17:20 +0000)]
Added host.API_version_{major,minor,vendor,vendor_implementation} fields.
Fix missing host.other_config from the record returned by Xend.
Improve the error diagnosis when we catch TypeError.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Wed, 21 Feb 2007 23:03:00 +0000 (23:03 +0000)]
Added VBD. and VIF.qos_supported_algorithms fields, with C bindings, Xend
implementation to follow.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Keir Fraser [Sat, 24 Feb 2007 15:30:19 +0000 (15:30 +0000)]
libxc: Code format cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 24 Feb 2007 14:48:17 +0000 (14:48 +0000)]
Reduce impact of saving/restoring/dumping large domains on Dom0 memory
usage by means of fadvise64() to tell the OS to discard the cache
pages used for the save/dump file.
Signed-off-by: Simon Graham <Simon.Graham@stratus.com>
Keir Fraser [Sat, 24 Feb 2007 14:33:34 +0000 (14:33 +0000)]
dump-core: documentation on its format.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Sat, 24 Feb 2007 14:32:43 +0000 (14:32 +0000)]
xc_ptrace_core.c new elf format support
The old format is still supported and the old implementation is left
as is with the slight adjustment to coexist with new implementation.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Sat, 24 Feb 2007 14:31:42 +0000 (14:31 +0000)]
Xen coredump format: ELF formatified with note section.
added PFN-GMFN table for non-auto translated physmap
added PFN table for auto translated physmap.
HVM domain support.
IA64 support
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Use the guest's own p2m table instead of xc_get_pfn_list(), which
cannot handle PFNs with no MFN.
Dump a zeroed page for PFNs with no MFN.
Clearly deprecate xc_get_pfn_list().
Do not include a P2M table with HVM domains.
Refuse to dump HVM until we can map its pages with PFNs.
Signed-off-by: John Levon <john.levon@sun.com>
Keir Fraser [Sat, 24 Feb 2007 14:19:42 +0000 (14:19 +0000)]
Move some definitions from xg_save_resotre.h to xg_private.h
which are necessary for the new dump core implementation.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Sat, 24 Feb 2007 14:19:05 +0000 (14:19 +0000)]
x86 hvm domain builder, restore: set shared_info.arch.max_pfn for
dump-core to know the area to dump
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Keir Fraser [Sat, 24 Feb 2007 14:10:27 +0000 (14:10 +0000)]
Support new xm command: xm trigger <Domain> <nmi|reset|init> [<VCPU>]
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
Keir Fraser [Sat, 24 Feb 2007 13:57:34 +0000 (13:57 +0000)]
xen memory allocator: Allow per-domain bitwidth restrictions.
Original patch by Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 24 Feb 2007 12:19:22 +0000 (12:19 +0000)]
xen memory allocator: Dynamically allocate per-numa-node metadata.
Signed-off-by: Keir Fraser <keir@xensource.com>
Jake Wires [Sat, 24 Feb 2007 01:26:07 +0000 (17:26 -0800)]
[TAPDISK] honor read-only attributes when creating tap-based VBDs
Signed-off-by: Jake Wires <jwires@xensource.com>
Jake Wires [Fri, 23 Feb 2007 17:40:32 +0000 (09:40 -0800)]
[TAPDISK] handle error case when opening VDIs
kfraser@localhost.localdomain [Fri, 23 Feb 2007 17:02:58 +0000 (17:02 +0000)]
xen memory alloctor: remove bit width restrictions
Hide the (default or user specified) DMA width from anything outside
the heap allocator. I/O-capable guests can now request any width for
the memory they want exchanged/added.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 23 Feb 2007 17:01:38 +0000 (17:01 +0000)]
xen memory allocator: per-bit-width heap zones
Replace the 3-zone scheme of the heap allocator with one with one
where zones are distinguished by their bit widths.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Ian Campbell [Fri, 23 Feb 2007 16:57:34 +0000 (16:57 +0000)]
merge
Ian Campbell [Fri, 23 Feb 2007 16:56:45 +0000 (16:56 +0000)]
[LINUX] Purge include <linux/config.h>. It has been obsolete for some time now.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Ian Campbell [Fri, 23 Feb 2007 16:56:42 +0000 (16:56 +0000)]
[PV-on-HVM] Fix gnttab_map to not run off the bottom of the gnttab space.
Cleanup a few warnings: reached end of void function and unused variables.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Fri, 23 Feb 2007 16:55:56 +0000 (16:55 +0000)]
xen memory allocator: hide generic allocator routines
This patch doesn't introduce functional changes, but simply moves code
around to make the unused (outside of the page allocator) heap alloc
functions taking an explicit zone parameter static without having to
forward-prototype them in their source file.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 23 Feb 2007 16:36:55 +0000 (16:36 +0000)]
xentrace: Add a relative TSC field (kept track per CPU) to xentrace_format.
Additionally a default line is added (key 0x00000000) which is used
when no specific entry in the format file is found.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Fri, 23 Feb 2007 16:24:07 +0000 (16:24 +0000)]
linux, tpm: Fix argument to grant table operation
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>